//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04B
TN_Widget.CreateTable([['Alan Doyle','Neighborhood Theatre','Charlotte, NC','Friday','5/3/2024','8:00 PM','6068243','Alan-Doyle-5-3-2024'],['Kyle Gordon','Neighborhood Theatre','Charlotte, NC','Saturday','5/4/2024','8:00 PM','6331462','Kyle-Gordon-5-4-2024'],['The Nighthawks','Neighborhood Theatre','Charlotte, NC','Sunday','5/5/2024','7:00 PM','6331463','The-Nighthawks-5-5-2024'],['The Wilson Spring Hotel','Neighborhood Theatre','Charlotte, NC','Tuesday','5/7/2024','8:00 PM','6414941','The-Wilson-Spring-Hotel-5-7-2024'],['Sarah Jarosz','Neighborhood Theatre','Charlotte, NC','Wednesday','5/8/2024','8:00 PM','5995585','Sarah-Jarosz-5-8-2024'],['P.O.D.','Neighborhood Theatre','Charlotte, NC','Thursday','5/9/2024','7:00 PM','6292237','P-O-D--5-9-2024'],['The Chats with Dirty Fences','Neighborhood Theatre','Charlotte, NC','Friday','5/10/2024','7:00 PM','6331481','The-Chats-with-Dirty-Fences-5-10-2024'],['Benjamin Tod & Lost Dog Street Band','Neighborhood Theatre','Charlotte, NC','Saturday','5/11/2024','8:00 PM','6093294','Benjamin-Tod---Lost-Dog-Street-Band-5-11-2024'],['Stabbing Westward','Neighborhood Theatre','Charlotte, NC','Sunday','5/12/2024','7:00 PM','6331477','Stabbing-Westward-5-12-2024'],['Imminence','Neighborhood Theatre','Charlotte, NC','Monday','5/13/2024','8:00 PM','6138152','Imminence-5-13-2024'],['L7','Neighborhood Theatre','Charlotte, NC','Tuesday','5/14/2024','7:30 PM','6331525','L7-5-14-2024'],['IV and The Strange Band','Neighborhood Theatre','Charlotte, NC','Wednesday','5/15/2024','8:00 PM','6352106','IV-and-The-Strange-Band-5-15-2024'],['Avi Kaplan','Neighborhood Theatre','Charlotte, NC','Friday','5/17/2024','8:00 PM','6266103','Avi-Kaplan-5-17-2024'],['Shadowgrass','Neighborhood Theatre','Charlotte, NC','Saturday','5/18/2024','8:00 PM','6352107','Shadowgrass-5-18-2024'],['Tyler Bryant And The Shakedown','Neighborhood Theatre','Charlotte, NC','Sunday','5/19/2024','8:00 PM','6352130','Tyler-Bryant-And-The-Shakedown-5-19-2024'],['Phosphorescent','Neighborhood Theatre','Charlotte, NC','Friday','5/24/2024','8:00 PM','6262992','Phosphorescent-5-24-2024'],['Susto','Neighborhood Theatre','Charlotte, NC','Saturday','5/25/2024','8:00 PM','6331527','Susto-5-25-2024'],['War Hippies','Neighborhood Theatre','Charlotte, NC','Thursday','5/30/2024','8:00 PM','6414910','War-Hippies-5-30-2024'],['Charles Esten','Neighborhood Theatre','Charlotte, NC','Friday','5/31/2024','8:00 PM','6351119','Charles-Esten-5-31-2024'],['Kelsey Waldon','Neighborhood Theatre','Charlotte, NC','Saturday','6/1/2024','8:00 PM','6331524','Kelsey-Waldon-6-1-2024'],['Dale Watson and His Lonestars','Neighborhood Theatre','Charlotte, NC','Tuesday','6/4/2024','8:00 PM','6414889','Dale-Watson-and-His-Lonestars-6-4-2024'],['Nekromantix','Neighborhood Theatre','Charlotte, NC','Thursday','6/13/2024','8:00 PM','6414873','Nekromantix-6-13-2024'],['Archspire','Neighborhood Theatre','Charlotte, NC','Friday','6/14/2024','7:00 PM','6296133','Archspire-6-14-2024'],['Lola Brooke','Neighborhood Theatre','Charlotte, NC','Sunday','6/16/2024','8:00 PM','6386938','Lola-Brooke-6-16-2024'],['Kings X','Neighborhood Theatre','Charlotte, NC','Wednesday','6/19/2024','8:00 PM','6349907','Kings-X-6-19-2024'],['Calebrate','Neighborhood Theatre','Charlotte, NC','Thursday','6/20/2024','8:00 PM','6414940','Calebrate-6-20-2024'],['JMSN','Neighborhood Theatre','Charlotte, NC','Friday','6/21/2024','8:00 PM','6295379','JMSN-6-21-2024'],['Kurt Vile and The Violators','Neighborhood Theatre','Charlotte, NC','Saturday','6/22/2024','8:00 PM','6304461','Kurt-Vile-and-The-Violators-6-22-2024'],['Sneakers','Neighborhood Theatre','Charlotte, NC','Sunday','6/23/2024','7:00 PM','6412269','Sneakers-6-23-2024'],['Matt Wertz & Andy Davis','Neighborhood Theatre','Charlotte, NC','Thursday','6/27/2024','8:00 PM','6281681','Matt-Wertz---Andy-Davis-6-27-2024'],['Sunny Sweeney','Neighborhood Theatre','Charlotte, NC','Friday','7/5/2024','8:00 PM','6412267','Sunny-Sweeney-7-5-2024'],['The Dollyrots','Neighborhood Theatre','Charlotte, NC','Saturday','7/13/2024','8:00 PM','6412268','The-Dollyrots-7-13-2024'],['Kenyon Dixon','Neighborhood Theatre','Charlotte, NC','Wednesday','7/17/2024','8:00 PM','6412337','Kenyon-Dixon-7-17-2024'],['Citizen Soldier','Neighborhood Theatre','Charlotte, NC','Friday','7/26/2024','7:30 PM','6307218','Citizen-Soldier-7-26-2024'],['The Aristocrats','Neighborhood Theatre','Charlotte, NC','Saturday','7/27/2024','8:00 PM','6387025','The-Aristocrats-7-27-2024'],['Kimberly Perry','Neighborhood Theatre','Charlotte, NC','Wednesday','8/21/2024','7:30 PM','6371065','Kimberly-Perry-8-21-2024'],['American Aquarium','Neighborhood Theatre','Charlotte, NC','Saturday','8/31/2024','8:00 PM','6416573','American-Aquarium-8-31-2024'],['Faun','Neighborhood Theatre','Charlotte, NC','Saturday','9/21/2024','8:00 PM','6331259','Faun-9-21-2024'],['Ocie Elliott','Neighborhood Theatre','Charlotte, NC','Tuesday','11/26/2024','8:00 PM','6329023','Ocie-Elliott-11-26-2024'],['Little Brother & Erik Lottary','Neighborhood Theatre','Charlotte, NC','Thursday','4/24/2070','TBD','4413294','Little-Brother---Erik-Lottary-4-24-2070'],['Goodie Mob','Neighborhood Theatre','Charlotte, NC','Saturday','8/30/2070','8:00 PM','4396083','Goodie-Mob-8-30-2070'],['Diet Cig','Neighborhood Theatre','Charlotte, NC','Sunday','11/2/2070','8:00 PM','4540220','Diet-Cig-11-2-2070']],'Neighborhood Theatre','http://www.ticketnetwork.com/ticket/Neighborhood-Theatre-events.aspx');